package com.zhongshan.ga.mybatis.dao;

import java.util.ArrayList;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.zhongshan.ga.mybatis.bean.ArtifactInfo;

/**
 * 手工艺品数据接口
 * @author yanqi
 *
 */
public interface IArtifactInfoMapper {
	/**
	 * 获得手工艺品列表数据
	 * @param startIndex 开始标志
	 * @param endIndex 结束标志
	 * @return
	 */
	@Select("SELECT * FROM artifactInfo where isActivity = 1 ORDER BY orderNum LIMIT #{startIndex},#{endIndex}")
	public ArrayList<ArtifactInfo> getAllArtifactInfos(Map<String, Integer> getArtifactInfoListMap);
}
